<?php /* Smarty version 2.6.18, created on 2011-08-18 17:02:18
         compiled from bao_tri_hrfisetup.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'HRFISETUP')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_STYPE']; ?>
</td>
    <td style="color:#FF0000;"><select id="tmpSTYPE" name="tmpSTYPE" size="1" style="background:<?php echo $this->_tpl_vars['colorSTYPE']; ?>
;width:100px;" <?php if ($this->_tpl_vars['disabled'] == 'true'): ?>disabled="disabled" <?php endif; ?> onchange="document.getElementById('STYPE').value=this.value;">
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_stype']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['STYPE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>
     * <input type="hidden" id="STYPE" name="STYPE" value="<?php echo $this->_tpl_vars['STYPE']; ?>
"/>
	 </td>
	 <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_IDD']; ?>
</td>
	 <td style="color:#FF0000"><div id="IDD_container">
	 	<input type="text" name="IDD" value="<?php echo $this->_tpl_vars['IDD']; ?>
" maxlength="20" style="width:100px;" <?php if ($this->_tpl_vars['disabled'] == 'true'): ?>readonly="readOnly" <?php endif; ?>/> * <input type="submit" name="find" value="    " id="replacement_find" <?php if ($this->_tpl_vars['disabled'] == 'true'): ?>style="visibility:hidden" <?php endif; ?>/>
	 </div>
	 </td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_APPCODE']; ?>
</td>
    <td colspan="3" style="color:#FF0000;">
    	<select name="APPCODE" size="1" style="width:100px;background:<?php echo $this->_tpl_vars['colorAPPCODE']; ?>
;">
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_appcode']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['APPCODE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select> *		
	</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_SUBTXN']; ?>
</td>
    <td style="color:#FF0000;">
		<select id="SUBTXN" name="SUBTXN" size="1" style="background:<?php echo $this->_tpl_vars['colorSUBTXN']; ?>
;width:100px;" onChange="document.getElementById('tmpDORC').selectedIndex=this.selectedIndex; document.getElementById('DORC').value=document.getElementById('tmpDORC').value">
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_subtxn']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['SUBTXN'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select> *		
	</td>
	<td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_DORC']; ?>
</td>
    <td style="color:#FF0000;">
	<select id="tmpDORC" name="tmpDORC" size="1" style="background:<?php echo $this->_tpl_vars['colorDORC']; ?>
;width:100px;" disabled="disabled">
	<option value=""/>
 	<?php $_from = $this->_tpl_vars['cbo_dorc']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
    <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['DORC'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
	</select> * <input type="hidden" name="DORC" id="DORC" value="<?php echo $this->_tpl_vars['DORC']; ?>
"/>
	</td>
    </tr>
  	<tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_AFFCODE']; ?>
</td>
    <td colspan="3" style="color:#FF0000;">
	<input id="AFFCODE" name="AFFCODE" type="text" value="<?php echo $this->_tpl_vars['AFFCODE']; ?>
"  maxlength="1" style="background:<?php echo $this->_tpl_vars['colorAFFCODE']; ?>
;width:100px;" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');"/> *
    </td>
    </tr> 	
	<tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ACTNO']; ?>
</td>
    <td>
	<input name="ACTNO" id="ACTNO" type="text" value="<?php echo $this->_tpl_vars['ACTNO']; ?>
" size="25" maxlength="20" style="background:<?php echo $this->_tpl_vars['colorACTNO']; ?>
;" onkeyup="this.value=this.value.toUpperCase().replace(' ','');checkACTNO(this);" onblur="this.value=this.value.toUpperCase().replace(' ','');checkACTNO(this);"/>					
	</td>
	<td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ACTFLD']; ?>
</td>
    <td>
    	<select  id="ACTFLD" name="ACTFLD" size="1" style="background:<?php echo $this->_tpl_vars['colorACTFLD']; ?>
;width:100px;" <?php if ($this->_tpl_vars['ACTNO'] != ''): ?>disabled="disabled" <?php endif; ?>>
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_actfld']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['ACTFLD'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>	
	</td>
	</tr>
	<tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CURCODE']; ?>
</td>
    <td>
    	<select name="CURCODE" size="1" style="width:100px;">
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_curcode']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['CURCODE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>	
	</td>
	<td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CURFLD']; ?>
</td>
    <td>
    	<input name="CURFLD" value="<?php echo $this->_tpl_vars['CURFLD']; ?>
" size="40" maxlength="50" disabled="disabled"/>		
	</td>
    </tr>
	<tr>
    <td><?php echo $this->_tpl_vars['lbl_AMOUNT']; ?>
</td>
    <td>
	<input name="AMOUNT" id="AMOUNT" type="text" value="<?php echo $this->_tpl_vars['AMOUNT']; ?>
" size="25" maxlength="25" disabled="disabled" onBlur="checkCurrency20(this,this.value); formatNumber(this,this.value);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" style="text-align:right;"/>	
	</td>
	<td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_AMTFLD']; ?>
</td>
    <td style="color:#FF0000;">
    	<select id="AMTFLD" name="AMTFLD" size="1" style="background:<?php echo $this->_tpl_vars['colorAMTFLD']; ?>
;">
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_fldname_hrformular']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['AMTFLD'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select> *			
	</td>
	</tr>
	<tr>
	<td><?php echo $this->_tpl_vars['lbl_RMKFLD1']; ?>
</td>
    <td>
		<select id="RMKFLD1" name="RMKFLD1" size="1" <?php if ($this->_tpl_vars['RMKLINE1'] != ''): ?>disabled="disabled" <?php endif; ?>>
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_rmkfld']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['RMKFLD1'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>		
	</td>
    <td><?php echo $this->_tpl_vars['lbl_RMKLINE1']; ?>
</td>
    <td>
		<input name="RMKLINE1" value="<?php echo $this->_tpl_vars['RMKLINE1']; ?>
" size="40" maxlength="50" onKeyUp="checkRMKLINE(this,1);" onBlur="checkRMKLINE(this,1);"/>		
	</td>	
	</tr>
	<tr>
	<td><?php echo $this->_tpl_vars['lbl_RMKFLD2']; ?>
</td>
    <td>
		<select id="RMKFLD2" name="RMKFLD2" size="1" <?php if ($this->_tpl_vars['RMKLINE1'] != ''): ?>disabled="disabled" <?php endif; ?>>
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_rmkfld']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['RMKFLD2'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>		
	</td>
    <td><?php echo $this->_tpl_vars['lbl_RMKLINE2']; ?>
</td>
    <td>
		<input name="RMKLINE2" value="<?php echo $this->_tpl_vars['RMKLINE2']; ?>
" size="40" maxlength="50"  onKeyUp="checkRMKLINE(this,2);" onBlur="checkRMKLINE(this,2);"/>		
	</td>	
	</tr>
	<tr>
	<td><?php echo $this->_tpl_vars['lbl_RMKFLD3']; ?>
</td>
    <td>
		<select id="RMKFLD3" name="RMKFLD3" size="1" <?php if ($this->_tpl_vars['RMKLINE1'] != ''): ?>disabled="disabled" <?php endif; ?>>
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_rmkfld']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['RMKFLD3'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>		
	</td>
    <td><?php echo $this->_tpl_vars['lbl_RMKLINE3']; ?>
</td>
    <td>
		<input name="RMKLINE3" value="<?php echo $this->_tpl_vars['RMKLINE3']; ?>
" size="40" maxlength="50"  onKeyUp="checkRMKLINE(this,3);" onBlur="checkRMKLINE(this,3);"/>		
	</td>	
	</tr>
	<tr>
	<td><?php echo $this->_tpl_vars['lbl_RMKFLD4']; ?>
</td>
    <td>
		<select id="RMKFLD4" name="RMKFLD4" size="1" <?php if ($this->_tpl_vars['RMKLINE1'] != ''): ?>disabled="disabled" <?php endif; ?>>
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_rmkfld']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['RMKFLD4'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select>		
	</td>
    <td><?php echo $this->_tpl_vars['lbl_RMKLINE4']; ?>
</td>
    <td>
		<input name="RMKLINE4" value="<?php echo $this->_tpl_vars['RMKLINE4']; ?>
" size="40" maxlength="50"  onKeyUp="checkRMKLINE(this,4);" onBlur="checkRMKLINE(this,4);"/>		
	</td>	
	</tr>
	<tr>
	<td><?php echo $this->_tpl_vars['lbl_SEQNO']; ?>
</td>
    <td style="color:#FF0000">
		<select id="SEQNO" name="SEQNO" size="1" style="width:100px;background:<?php echo $this->_tpl_vars['colorSEQNO']; ?>
;">
		<option value=""/>
 		<?php $_from = $this->_tpl_vars['cbo_seqno']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      	<option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['SEQNO'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>
		</select> *		
	</td>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ABRNFLD']; ?>
</td>
    <td>
		<input name="ABRNFLD" value="<?php echo $this->_tpl_vars['ABRNFLD']; ?>
" size="40" maxlength="50" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');"/>		
	</td>	
	</tr>
	<tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_COSTID']; ?>
</td>
    <td colspan="3">
	<input id="COSTID" name="COSTID" type="text" value="<?php echo $this->_tpl_vars['COSTID']; ?>
" size="40" maxlength="50"/>
	&nbsp;
	<input type="button" onclick="mywindow = window.open('danhsach_costid.php?name=COSTID', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" id="replacement_binoculars" value="     " />
    </td>
    </tr> 	
	<tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_COSTID2']; ?>
</td>
    <td colspan="3">
	<input id="COSTID2" name="COSTID2" type="text" value="<?php echo $this->_tpl_vars['COSTID2']; ?>
" size="40" maxlength="50"/>
	&nbsp; 
	<input type="button" onclick="mywindow = window.open('danhsach_costid.php?name=COSTID2', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" id="replacement_binoculars" value="     " />
    </td>
    </tr> 	
	<tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_COSTID3']; ?>
</td>
    <td colspan="3">
	<input id="COSTID3" name="COSTID3" type="text" value="<?php echo $this->_tpl_vars['COSTID3']; ?>
" size="40" maxlength="50"/>
	&nbsp;
	<input type="button" onclick="mywindow = window.open('danhsach_costid.php?name=COSTID3', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" id="replacement_binoculars" value="     " />
    </td>
    </tr> 	
	<tr>    
    <td colspan="4">&nbsp;		
	</td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
   <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'tmpSTYPE');activeform(this.form,'IDD');document.getElementById('replacement_find').style.visibility='visible';" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['disabled'] == 'false'): ?>disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
<tr>
<td >
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 <?php $_from = $this->_tpl_vars['chuyentrang1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>